package org.ubc.cs410.disposal2020.client;

import java.util.Collection;
import java.util.Map;
import java.util.Set;

import org.ubc.cs410.disposal2020.client.dto.GarbageDto;

import com.google.gwt.user.client.rpc.AsyncCallback;

/*
 * Automatically generated
 * Methods associated with the game, to be called on client side
 * The actual implementation is in serverside, see GameServiceImpl.java
 */

public interface GameServiceAsync {

	void listAvailableGames(AsyncCallback<Map<String,String>> callback);

	void joinGame(String selectedName, AsyncCallback<String> callback);

	void isGameReady(AsyncCallback<String> callback);

	void getTurn(AsyncCallback<Integer> callback);

	void listAllGarbages(AsyncCallback<Set<GarbageDto>> callback);

}
